<?php

return [
    /*
    |--------------------------------------------------------------------------
    | Validation LanguageLines
    |--------------------------------------------------------------------------
    |
    | Thefollowing languagelinescontain thedefault error messagesused by
    | thevalidator class. Someof theseruleshavemultipleversionssuch
    | asthesizerules. Feel freeto tweak each of thesemessages.
    |
     */

    'accepted'             => '您必须接受:attribute',
    'active_url'           => ':attribute不是一个有效的网址',
    'after'                => ':attribute必须要晚于:date',
    'after_or_equal'       => ':attribute必须要等于:date或更晚',
    'alpha'                => ':attribute只能由字母组成',
    'alpha_dash'           => ':attribute只能由字母、数字、短划线(-)和下划线(_)组成',
    'alpha_num'            => ':attribute只能由字母和数字组成',
    'array'                => ':attribute必须是一个数组',
    'before'               => ':attribute必须要早于:date',
    'before_or_equal'      => ':attribute必须要等于:date或更早',
    'between'              => [
        'numeric' => ':attribute必须介于:min -:max之间',
        'file'    => ':attribute必须介于:min -:maxKB 之间',
        'string'  => ':attribute必须介于:min -:max个字符之间',
        'array'   => ':attribute必须只有:min -:max个单元',
    ],
    'boolean'              => ':attribute必须为布尔值',
    'confirmed'            => ':attribute两次输入不一致',
    'date'                 => ':attribute不是一个有效的日期',
    'date_equals'          => ':attribute必须要等于:date',
    'date_format'          => ':attribute的格式必须为:format',
    'different'            => ':attribute和:other必须不同',
    'digits'               => ':attribute必须是:digits位的数字',
    'digits_between'       => ':attribute必须是介于:min和:max位的数字',
    'dimensions'           => ':attribute图片尺寸不正确',
    'distinct'             => ':attribute已经存在',
    'email'                => ':attribute不是一个合法的邮箱',
    'exists'               => ':attribute不存在',
    'file'                 => ':attribute必须是文件',
    'filled'               => ':attribute不能为空',
    'gt'                   => [
        'numeric' => ':attribute必须大于:value',
        'file'    => ':attribute必须大于:valueKB',
        'string'  => ':attribute必须多于:value个字符',
        'array'   => ':attribute必须多于:value个元素',
    ],
    'gte'                  => [
        'numeric' => ':attribute必须大于或等于:value',
        'file'    => ':attribute必须大于或等于:valueKB',
        'string'  => ':attribute必须多于或等于:value个字符',
        'array'   => ':attribute必须多于或等于:value个元素',
    ],
    'image'                => ':attribute必须是图片',
    'in'                   => '已选的属性:attribute非法',
    'in_array'             => ':attribute没有在:other中',
    'integer'              => ':attribute必须是整数',
    'ip'                   => ':attribute必须是有效的IP地址',
    'ipv4'                 => ':attribute必须是有效的IPv4地址',
    'ipv6'                 => ':attribute必须是有效的IPv6地址',
    'json'                 => ':attribute必须是正确的JSON格式',
    'lt'                   => [
        'numeric' => ':attribute必须小于:value',
        'file'    => ':attribute必须小于:valueKB',
        'string'  => ':attribute必须少于:value个字符',
        'array'   => ':attribute必须少于:value个元素',
    ],
    'lte'                  => [
        'numeric' => ':attribute必须小于或等于:value',
        'file'    => ':attribute必须小于或等于:valueKB',
        'string'  => ':attribute必须少于或等于:value个字符',
        'array'   => ':attribute必须少于或等于:value个元素',
    ],
    'max'                  => [
        'numeric' => ':attribute不能大于:max',
        'file'    => ':attribute不能大于:maxKB',
        'string'  => ':attribute不能大于:max个字符',
        'array'   => ':attribute最多只有:max个单元',
    ],
    'mimes'                => ':attribute必须是一个:values类型的文件',
    'mimetypes'            => ':attribute必须是一个:values类型的文件',
    'min'                  => [
        'numeric' => ':attribute必须大于等于:min',
        'file'    => ':attribute大小不能小于:minKB',
        'string'  => ':attribute至少为:min个字符',
        'array'   => ':attribute至少有:min个单元',
    ],
    'not_in'               => '已选的属性:attribute非法',
    'not_regex'            => ':attribute的格式错误',
    'numeric'              => ':attribute必须是一个数字',
    'present'              => ':attribute必须存在',
    'regex'                => ':attribute格式不正确',
    'required'             => ':attribute不能为空',
    'required_if'          => '当:other为:value时:attribute不能为空',
    'required_unless'      => '当:other不为:values时:attribute不能为空',
    'required_with'        => '当:values存在时:attribute不能为空',
    'required_with_all'    => '当:values存在时:attribute不能为空',
    'required_without'     => '当:values不存在时:attribute不能为空',
    'required_without_all' => '当:values都不存在时:attribute不能为空',
    'same'                 => ':attribute和:other必须相同',
    'size'                 => [
        'numeric' => ':attribute大小必须为:size',
        'file'    => ':attribute大小必须为:sizeKB',
        'string'  => ':attribute必须是:size个字符',
        'array'   => ':attribute必须为:size个单元',
    ],
    'starts_with'          => ':attribute必须以:values为开头',
    'string'               => ':attribute必须是一个字符串',
    'timezone'             => ':attribute必须是一个合法的时区值',
    'unique'               => ':attribute已经存在',
    'uploaded'             => ':attribute上传失败',
    'url'                  => ':attribute格式不正确',
    'uuid'                 => ':attribute必须是有效的UUID',

    /*
    |--------------------------------------------------------------------------
    | Custom Validation LanguageLines
    |--------------------------------------------------------------------------
    |
    | Hereyou may specify custom validation messagesfor attributesusing the
    | convention 'attribute.rule' to namethelines. Thismakesit quick to
    | specify a specific custom languagelinefor a given attributerule.
    |
     */

    'custom'               => [
        'attribute-name' => [
            'rule-name' => 'custom-message',
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Custom Validation Attributes
    |--------------------------------------------------------------------------
    |
    | Thefollowing languagelinesareused to swap attributeplace-holders
    | with something morereader friendly such asE-Mail Addressinstead
    | of 'email'. Thissimply helpsusmakemessagesa littlecleaner.
    |
     */

    'attributes'           => [
        'name'                  => '名称',
        'username'              => '用户名',
        'email'                 => '邮箱',
        'first_name'            => '名',
        'last_name'             => '姓',
        'password'              => '密码',
        'password_confirmation' => '确认密码',
        'city'                  => '城市',
        'country'               => '国家',
        'address'               => '地址',
        'phone'                 => '电话',
        'mobile'                => '手机',
        'age'                   => '年龄',
        'sex'                   => '性别',
        'gender'                => '性别',
        'day'                   => '天',
        'month'                 => '月',
        'year'                  => '年',
        'hour'                  => '时',
        'minute'                => '分',
        'second'                => '秒',
        'title'                 => '标题',
        'content'               => '内容',
        'description'           => '描述',
        'excerpt'               => '摘要',
        'date'                  => '日期',
        'time'                  => '时间',
        'available'             => '可用的',
        'size'                  => '大小',
        'verification_code'     => '验证码',
        'is_terms'              => '协议',
        'user_id'               => '用户',
        'head_img'              => '头像',
        'nickname'              => '昵称',
        'birthday'              => '生日',
        'area_id'               => '地区',
        'address_detail'        => '地址详情',
        'longitude'             => '经度',
        'latitude'              => '纬度',
        'detail'                => '详情',
        'is_default'            => '是否默认',
        'label'                 => '标签',
        'user_address_id'       => '收货地址',
    ],
    'phone'                => '手机号格式不正确',
    'pwd'                  => '账号密码错误',
];
